package com.testing.sqlTest;

import java.io.IOException;
import java.util.Properties;

/**
 * @Classname PropTest
 * @Description 类型说明
 * @Date 2021/5/21 22:34
 * @Created by 特斯汀Roy
 */
public class PropTest {
    public static void main(String[] args) throws IOException {
        Properties royPro=new Properties();
        //加载读取properties文件
        royPro.load(PropTest.class.getResourceAsStream("/inter.properties"));
        System.out.println(royPro.get("user"));
        System.out.println(royPro.get("password"));

    }
}
